package org.phona.object;

public class Telephone{
	
	public Telephone(String label, String type, String phoneNumber, String primary) {
		this.label = label;
		this.type = type;
		this.phoneNumber = phoneNumber;
		this.primary = primary;
	}
	String label;
	String type;
	String phoneNumber; 
	String primary;
	
	public boolean isPrimary() {
		return primary.equals("1");
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}
}